#include "mainwindow.h"
#include "database.hpp"
#include "statistics.hpp"
#include <QApplication>

rooms room(2);

pthread_mutex_t database::mtx=PTHREAD_MUTEX_INITIALIZER;
database* database::instance=nullptr;
pthread_mutex_t statistics::mtx_1=PTHREAD_MUTEX_INITIALIZER;
statistics* statistics::instance_1=nullptr;

int main(int argc, char *argv[])
{

    QApplication a(argc, argv);
    MainWindow w;
    w.show();

    return a.exec();
}
